<%@ page contentType="text/html;charset=ISO-8859-1" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
	    <link type="text/css" rel="stylesheet" href="/webapp/stylesheet/common.css">
	    <title>DeepStack : Logging In</title>
	  	<script type="text/javascript" language="javascript" src="/webapp/javascript/common.js">
	  	</script>
	  	<script type="text/javascript" language="javascript" src="/webapp/javascript/logging-in.js">
	  	</script>
	</head>
  	<body>
	  	<form action="/private/lobby" method="post">
	  		<p>
	  			Add players to tournament
	  		</p>
    		<select name="players" id="players" multiple="multiple" size="5" style="width: 150px">
    			<c:forEach var="player" items="${players}">
    				<option value="${player.id}" >${player.name}</option>
    			</c:forEach>
    		</select>
    		<p>
    			<input type="button" value="Add" onclick="add()"/>
    			<input type="button" value="Remove" onclick="remove()"/>
    		</p>
    		<select name="challengers" id="challengers" multiple="multiple" size="5" style="width: 150px">
    		</select>
    		<p>
    			<input type="submit" onclick="start()" value="Start" />
    		</p>
	  	</form>
	</body>
</html>